import Vue from 'vue'
import Router from 'vue-router'


// 品牌馆；
import brand from "../containers/brand/brand";
// 首页
import home from "../containers/home/home";
// 购物车
import cart from "../containers/cart/cart";
// 分类
import variety from "../containers/variety/variety";
// 茶友圈
import teaCircle from "../containers/teaCircle/teaCircle";
// 登录
import login from "../containers/login/login";
// 我的
import mine from "../containers/mine/mine";
import setUp from "../containers/setUp/setUp";
// import mineItem from "../containers/mine/mineItem/mineItem.vue";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component:home
    },
    {
      path: '/home',
      name: 'home',
      component:home
    },
    {
      path: '/brand',
      name: 'brand',
      component:brand
    },
    {
      path: '/cart',
      name: 'cart',
      component:cart
    },
    {
      path: '/login',
      name: 'login',
      component:login
    },
    {
      path: '/mine',
      name: 'mine',
      component:mine
    },
    {
      path: '/teaCircle',
      name: 'teaCircle',
      component:teaCircle
    },
    {
      path: '/variety',
      name: 'variety',
      component:variety
    },
    {
      path:'/setUp',
      name:'setUp',
      component:setUp
    }
  ]
})
